home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d14 / callback.arc / CB.TXT < prev    next >
Text File  |  1990-11-15  |  2KB  |  72 lines

  1.  
  2. About CB.DLL
  3.  
  4. Note: This DLL works *only* with ToolBook 1.0. NO WARRANTY or Support!
  5.  
  6. ======================================================================
  7. Function TranslateDLLMessage(<sysWindowHandle>, <WM_number>, <Msg>)
  8.  
  9. Description:
  10.     Forces OpenScript to send an OpenScript message to the
  11.     current page when a Windows Message is received by the
  12.     ToolBook main window.
  13.  
  14.     To link this function, insert the following statement in 
  15.     the linkdll structure:
  16.         int TranslateDLLMessage(WORD,WORD,STRING)
  17.  
  18. Parameters:
  19.     <sysWindowHandle> Always sysWindowHandle (handle of the
  20.     ToolBook main window for the current instance)
  21.     <WM_number> The Windows message number (see Windows.h)
  22.     <Msg> The name of the OpenScript message to send to the 
  23.     current page when <WM_number> is received by the ToolBook
  24.     window.
  25.  
  26. Returns:
  27.     Undetermined
  28.  
  29. Example:
  30.     get TranslateDLLMessage(sysWindowHandle,3,"WM_MOVE")
  31.  
  32. ===================================================================
  33. Function UntranslateDLLMessage(<sysWindowHandle>, <WM_number>)
  34.  
  35. Description:
  36.     Cancels a message translation set up with TranslateDLLMessage.
  37.  
  38.     To link this function, insert the following statement 
  39.     in the linkdll structure:
  40.         int UnTranslateDLLMessage(WORD,WORD)
  41.  
  42. Parameters:
  43.     <sysWindowHandle> Always sysWindowHandle (handle of the
  44.     ToolBook main window for the current instance)
  45.     <WM_number> The Windows message number (see Windows.h)
  46.  
  47. Returns:
  48.     Undetermined
  49.  
  50. Example:
  51.     get UnTranslateDLLMessage(sysWindowHandle,3) -- "WM_MOVE"
  52.  
  53. ===================================================================
  54. Function UntranslateAllDLLMessages(<sysWindowHandle>)
  55.  
  56. Description:
  57.     Cancels all message translations set up with TranslateDLLMessage.
  58.  
  59.     To link this function, insert the following statement 
  60.     in the linkdll structure:
  61.         int UnTranslateAllDLLMessages(WORD)
  62.  
  63. Parameters:
  64.     <sysWindowHandle> Always sysWindowHandle (handle of the
  65.     ToolBook main window for the current instance)
  66.  
  67. Returns:
  68.     Undetermined
  69.  
  70. Example:
  71.     get untranslateAllDLLMessages(sysWindowHandle)
  72.